home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / cbm / 4285 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.7 KB

  1. Path: usenet.ufl.edu!usenet
  2. From: Michael Ellis <michael@anest4.anest.ufl.edu>
  3. Newsgroups: comp.sys.cbm,comp.os.misc,alt.comp.hardware.homebuilt,comp.sys.apple2,comp.sys.apple2.programmer,comp.sys.atari.8bit
  4. Subject: Re: 6502 Multitasking OS announce
  5. Date: 20 Mar 1996 14:29:32 GMT
  6. Organization: University Of Florida
  7. Message-ID: <4ip4oc$kji@no-names.nerdc.ufl.edu>
  8. References: <4i94fs$stj@narses.hrz.tu-chemnitz.de> <holger.948.00030EE6@deep.hb.provi.de> <4ijtbe$7ca@no-names.nerdc.ufl.edu> <4ijuic$iiq@gatekeeper.liffe.com> <4ik00v$9r@fishlab7.fsh.mtu.edu> <4im0u2$2vd@news.xs4all.nl>
  9. NNTP-Posting-Host: greenwolf.anest.ufl.edu
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (Windows; I; 16bit)
  14.  
  15. falstaff@xs4all.nl (Falstaff) wrote:
  16. >jponge@mtu.edu (Joshua P. Onge) writes:
  17. >
  18. >>> The way to get around this is to pass all parameters on the stack, and use separate
  19. >>> stacks for the separate tasks.
  20. >
  21. >> All well & good BUT the 6502 does not have a relocatable stack pointer
  22. >> so your kinda left with a bit of a problem when it commes to
  23. >> multitasking, ie you cant give each process it's own stack without
  24. >> copying the whole stack ( maybe just to the current sp value? )during
  25. >> each context switch. 
  26. >
  27. >>I believe that, from reading Andre's webpage on his OS, the operating
  28. >>system saves registers, to keep each program in it's own little world. You
  29. >>should read his description, it's quite ineresting.
  30. >
  31. >Yes, but Joshua is right.  Each process will need some amount of stackspace
  32.  
  33.  
  34.  
  35. Maybe I'm nit-picking, but I wrote:
  36.  
  37. >>> The way to get around this is to pass all parameters on the stack, and use separate
  38. >>> stacks for the separate tasks.
  39.  
  40.  
  41. -Michael Ellis
  42.  
  43.  
  44.